package com.itheima01;

public class Manger {
    private int workId;
    private String name;
    private String gander;
    private String phoneNum;

    public Manger() {
    }

    public Manger(int workId, String name, String gander, String phoneNum) {
        this.workId = workId;
        this.name = name;
        this.gander = gander;
        this.phoneNum = phoneNum;
    }

    public int getWorkId() {
        return workId;
    }

    public void setWorkId(int workId) {
        this.workId = workId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getGander() {
        return gander;
    }

    public void setGander(String gander) {
        this.gander = gander;
    }

    public String getPhoneNum() {
        return phoneNum;
    }

    public void setPhoneNum(String phoneNum) {
        this.phoneNum = phoneNum;
    }

    @Override
    public String toString() {
        return "Manger{" +
                "workId=" + workId +
                ", name='" + name + '\'' +
                ", gander='" + gander + '\'' +
                ", phoneNum=" + phoneNum +
                '}';
    }
}
